package config

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/zrpc"
)

type Config struct {
	zrpc.RpcServerConf
	Mysql struct {
		DataSource string
	}
	JWTAuth struct {
		AccessSecret string
		AccessExpire int64
	}
	Casbin struct {
		ModelPath  string
		PolicyPath string
	}
	User struct {
		RegisterEnabled bool
	}
	Cache cache.CacheConf
}
